<div class="page-body">
    <div class="row">
        <div class="col-xs-12 col-md-12">
            <div class="widget">
                <div class="widget-header ">
                    <span class="widget-caption">回收图书</span>
                    <div class="widget-buttons">
                        <a href="#" data-toggle="maximize">
                            <i class="fa fa-expand"></i>
                        </a>
                        <a href="#" data-toggle="collapse">
                            <i class="fa fa-minus"></i>
                        </a>
                        <a href="#" data-toggle="dispose">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="widget-body">
                    <table class="table table-striped table-hover">
                        <thead>
                        <tr>
                            <th>
                                ID
                            </th>
                            <th>
                                学生名称
                            </th>
                            <th>
                               书名
                            </th>
                            <th>
                                书包名称
                            </th>
                            <th>
                                所属班级
                            </th>
                            <th>
                                所属幼儿园
                            </th>
                            <th>
                                时间
                            </th>
                            <th>
                                备注
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                        </thead>

                        <tbody>
                        <foreach name="data" item="v">
                            <tr>
                                <td>
                                    {$v.id}
                                </td>
                                <td>
                                    {$v.user_name}
                                </td>
                                <td>
                                    {$v.sm}
                                </td>
                                <td>
                                    {$v.bag_name}
                                </td>
                                <td>
                                    {$v.class_name}
                                </td>
                                <td>
                                    {$v.school_name}
                                </td>

                                <td>
                                    {$v.created_at|date="Y-m-d H:i:s",###}
                                </td>
                                <td>
                                    {$v.remark}
                                </td>
                                <td>

                                    <a class="btn btn-info btn-xs"
                                       href="{:U('baoFei',array('id'=>$v['id']))}">
                                        <i class="fa fa-edit"></i> 报废
                                    </a>
                                </td>
                            </tr>
                        </foreach>
                        </tbody>
                    </table>
                    {$page}
                </div>
            </div>
        </div>
    </div>
</div>